
<!DOCTYPE html>
<html lang="">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <title>Title Page</title>

        <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">

    </head>
    <body>
        <h1 class="text-center">Hello World</h1>
        <button>添加数据</button>
        <a href="javascript:;">sdf</a>
        <!-- jQuery -->
        <script src="node_modules/jquery/dist/jquery.min.js"></script>
        <!-- Bootstrap JavaScript -->
        <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
       
        <script src="node_modules/axios/dist/axios.min.js"></script>
        <script src="js/api.js"></script>
        <script>
            const obj = {};
            $('button').click(function (e) {
                obj.name = '张三'
                obj.age = 13
                // console.log(obj);
              
            });
            $('a').click(tanchuan.bind(tanchuan,10))
            function tanchuan(n) {
                return 1
            }
            axios.all([
                axios.get('/personalized'),
                axios.get('/personalized/newsong')
            ]).then(
                axios.spread((res1,res2)=>{
                    console.log(res1);
                    console.log(res2);
                })
            )
        </script>
    </body>
</html>
